Skip to content
  • 0 Votes
    2 Posts
    463 Views
    ODБOïO

    hi
    @Vasilevs said in QML Application exit errors:

    I created utility class in QML for more convenient dynamical object creation.

    const component = Qt.createComponent(path, Component.PreferSynchronous, parent); switch (component.status) {

    try to connect a function to your component's statusChanged signal instead of checking the status just after the creation, see here https://doc.qt.io/qt-5/qtqml-javascript-dynamicobjectcreation.html

    @Vasilevs said in QML Application exit errors:

    This looks like parent destroyed, but created item - not.

    you can verify it with the debugger